home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc1_2_x / inptmthd.sit / Input Methods / card_3028.txt < prev    next >
Text File  |  1989-11-24  |  6KB  |  284 lines

  1. -- card: 3028 from stack: in
  2. -- bmap block id: 3461
  3. -- flags: 4000
  4. -- background id: 2696
  5. -- name: Click Single Answer
  6. ----- HyperTalk script -----
  7. on mouseUp
  8.   get the short name of the target
  9.   if the short name of the target is "Right" then
  10.     hide card field "Right"
  11.     rightSound
  12.     show card field "Right"
  13.   else if the short name of the target is "Wrong" then
  14.     wrongSound
  15.   else pass mouseUp
  16. end mouseUp
  17.  
  18.  
  19. -- part 1 (field)
  20. -- low flags: 01
  21. -- high flags: 0000
  22. -- rect: left=17 top=76 right=114 bottom=157
  23. -- title width / last selected line: 0
  24. -- icon id / first selected line: 0 / 0
  25. -- text alignment: 0
  26. -- font id: 3
  27. -- text size: 14
  28. -- style flags: 0
  29. -- line height: 18
  30. -- part name: 
  31.  
  32.  
  33. -- part 7 (field)
  34. -- low flags: 01
  35. -- high flags: 0000
  36. -- rect: left=32 top=118 right=213 bottom=136
  37. -- title width / last selected line: 0
  38. -- icon id / first selected line: 0 / 0
  39. -- text alignment: 0
  40. -- font id: 3
  41. -- text size: 14
  42. -- style flags: 0
  43. -- line height: 22
  44. -- part name: 
  45.  
  46.  
  47. -- part 8 (button)
  48. -- low flags: 00
  49. -- high flags: 2000
  50. -- rect: left=21 top=120 right=141 bottom=104
  51. -- title width / last selected line: 0
  52. -- icon id / first selected line: 0 / 0
  53. -- text alignment: 1
  54. -- font id: 0
  55. -- text size: 12
  56. -- style flags: 0
  57. -- line height: 16
  58. -- part name: Wrong
  59.  
  60.  
  61. -- part 9 (button)
  62. -- low flags: 00
  63. -- high flags: 2000
  64. -- rect: left=21 top=142 right=163 bottom=104
  65. -- title width / last selected line: 0
  66. -- icon id / first selected line: 0 / 0
  67. -- text alignment: 1
  68. -- font id: 0
  69. -- text size: 12
  70. -- style flags: 0
  71. -- line height: 16
  72. -- part name: Right
  73.  
  74.  
  75. -- part 10 (button)
  76. -- low flags: 00
  77. -- high flags: 2000
  78. -- rect: left=21 top=164 right=185 bottom=104
  79. -- title width / last selected line: 0
  80. -- icon id / first selected line: 0 / 0
  81. -- text alignment: 1
  82. -- font id: 0
  83. -- text size: 12
  84. -- style flags: 0
  85. -- line height: 16
  86. -- part name: Wrong
  87.  
  88.  
  89. -- part 11 (button)
  90. -- low flags: 00
  91. -- high flags: 2000
  92. -- rect: left=21 top=186 right=207 bottom=104
  93. -- title width / last selected line: 0
  94. -- icon id / first selected line: 0 / 0
  95. -- text alignment: 1
  96. -- font id: 0
  97. -- text size: 12
  98. -- style flags: 0
  99. -- line height: 16
  100. -- part name: Wrong
  101.  
  102.  
  103. -- part 13 (field)
  104. -- low flags: 01
  105. -- high flags: 0001
  106. -- rect: left=162 top=120 right=177 bottom=303
  107. -- title width / last selected line: 0
  108. -- icon id / first selected line: 0 / 0
  109. -- text alignment: 0
  110. -- font id: 3
  111. -- text size: 12
  112. -- style flags: 0
  113. -- line height: 16
  114. -- part name: Right
  115.  
  116.  
  117. -- part 14 (field)
  118. -- low flags: 01
  119. -- high flags: 0000
  120. -- rect: left=253 top=64 right=85 bottom=413
  121. -- title width / last selected line: 0
  122. -- icon id / first selected line: 0 / 0
  123. -- text alignment: 0
  124. -- font id: 3
  125. -- text size: 14
  126. -- style flags: 0
  127. -- line height: 18
  128. -- part name: 
  129.  
  130.  
  131. -- part 16 (button)
  132. -- low flags: 00
  133. -- high flags: 2000
  134. -- rect: left=340 top=125 right=146 bottom=485
  135. -- title width / last selected line: 0
  136. -- icon id / first selected line: 0 / 0
  137. -- text alignment: 1
  138. -- font id: 0
  139. -- text size: 12
  140. -- style flags: 0
  141. -- line height: 16
  142. -- part name: Right
  143.  
  144.  
  145. -- part 17 (button)
  146. -- low flags: 00
  147. -- high flags: 2000
  148. -- rect: left=329 top=66 right=125 bottom=483
  149. -- title width / last selected line: 0
  150. -- icon id / first selected line: 0 / 0
  151. -- text alignment: 1
  152. -- font id: 0
  153. -- text size: 12
  154. -- style flags: 0
  155. -- line height: 16
  156. -- part name: Wrong
  157.  
  158.  
  159. -- part 18 (button)
  160. -- low flags: 00
  161. -- high flags: 2000
  162. -- rect: left=363 top=146 right=195 bottom=407
  163. -- title width / last selected line: 0
  164. -- icon id / first selected line: 0 / 0
  165. -- text alignment: 1
  166. -- font id: 0
  167. -- text size: 12
  168. -- style flags: 0
  169. -- line height: 16
  170. -- part name: Wrong
  171.  
  172.  
  173. -- part 19 (button)
  174. -- low flags: 00
  175. -- high flags: 2000
  176. -- rect: left=359 top=200 right=251 bottom=484
  177. -- title width / last selected line: 0
  178. -- icon id / first selected line: 0 / 0
  179. -- text alignment: 1
  180. -- font id: 0
  181. -- text size: 12
  182. -- style flags: 0
  183. -- line height: 16
  184. -- part name: Wrong
  185.  
  186.  
  187. -- part 20 (button)
  188. -- low flags: 00
  189. -- high flags: 2000
  190. -- rect: left=357 top=250 right=272 bottom=439
  191. -- title width / last selected line: 0
  192. -- icon id / first selected line: 0 / 0
  193. -- text alignment: 1
  194. -- font id: 0
  195. -- text size: 12
  196. -- style flags: 0
  197. -- line height: 16
  198. -- part name: Wrong
  199.  
  200.  
  201. -- part 21 (button)
  202. -- low flags: 00
  203. -- high flags: 2000
  204. -- rect: left=363 top=272 right=326 bottom=431
  205. -- title width / last selected line: 0
  206. -- icon id / first selected line: 0 / 0
  207. -- text alignment: 1
  208. -- font id: 0
  209. -- text size: 12
  210. -- style flags: 0
  211. -- line height: 16
  212. -- part name: Wrong
  213.  
  214.  
  215. -- part 22 (button)
  216. -- low flags: 00
  217. -- high flags: 2001
  218. -- rect: left=490 top=320 right=342 bottom=512
  219. -- title width / last selected line: 0
  220. -- icon id / first selected line: 26635 / 26635
  221. -- text alignment: 1
  222. -- font id: 0
  223. -- text size: 12
  224. -- style flags: 0
  225. -- line height: 16
  226. -- part name: 
  227. ----- HyperTalk script -----
  228. on mouseUp
  229.   info
  230. end mouseUp
  231.  
  232.  
  233.  
  234. -- part 23 (field)
  235. -- low flags: 81
  236. -- high flags: 2004
  237. -- rect: left=54 top=114 right=238 bottom=314
  238. -- title width / last selected line: 0
  239. -- icon id / first selected line: 0 / 0
  240. -- text alignment: 0
  241. -- font id: 3
  242. -- text size: 12
  243. -- style flags: 0
  244. -- line height: 16
  245. -- part name: Info
  246. ----- HyperTalk script -----
  247. on mouseUp
  248.   info
  249. end mouseUp
  250.  
  251.  
  252. -- part 24 (button)
  253. -- low flags: 00
  254. -- high flags: 2000
  255. -- rect: left=406 top=146 right=195 bottom=482
  256. -- title width / last selected line: 0
  257. -- icon id / first selected line: 0 / 0
  258. -- text alignment: 1
  259. -- font id: 0
  260. -- text size: 12
  261. -- style flags: 0
  262. -- line height: 16
  263. -- part name: Wrong
  264.  
  265.  
  266. -- part contents for card part 1
  267. ----- text -----
  268. The chief export of Nairobi is:
  269.  
  270. -- part contents for card part 7
  271. ----- text -----
  272. Uranium
  273. Coal
  274. Tin
  275. Oil
  276.  
  277. -- part contents for card part 14
  278. ----- text -----
  279. Click on the Cornice:
  280.  
  281. -- part contents for card part 23
  282. ----- text -----
  283.  
  284. Notice the "distractor" buttons on the graphic.  Without these, a savvy HyperCard user could just press Option-Command and immediately see the button over the correct answer.